// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick' // 解决移动端300毫秒点击事件延迟
import VueAwesomeSwiper from 'vue-awesome-swiper' // 引入VueAwesomeSwiper轮播插件
import store from './store/index.js' // vuex
import 'styles/reset.css' // 统一不同浏览器重置初始的样式（.css）
import 'styles/border-1px.css' // 解决移动端部分手机出现1像素边框问题
import 'styles/iconfont.css' // 引入iconfont字体图标(@代表根目录【src】)
import 'swiper/dist/css/swiper.css' // 引入VueAwesomeSwiper轮播插件的css样式

Vue.config.productionTip = false
fastClick.attach(document.body) // 单击不延迟绑定到document.body上
Vue.use(VueAwesomeSwiper) // 引入VueAwesomeSwiper轮播插件的参数

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
